package au.com.iglootech.winerymap.service.webservice;

import java.io.Serializable;
import java.util.List;

import au.com.iglootech.winerymap.entity.dto.WineryInfoDTO;

/**
 * web service.
 * 
 * @author zhuhome
 * 
 */
public interface WineryMapWebService extends Serializable {

	/**
	 * For test.
	 * 
	 * @param echo
	 *            message
	 * @return message
	 */
	String echo(String echo);

	/**
	 * 
	 * @return list of winery
	 */
	List<WineryInfoDTO> findAllWinery();

	/**
	 * 
	 * @param keyValue
	 *            key
	 * @return WineryInfoDTO
	 */
	WineryInfoDTO findWineryByKey(String keyValue);

	/**
	 * add a new winery
	 * @param name
	 * @param region
	 * @param address1
	 * @param address2
	 * @param website
	 * @param telephone
	 * @param winemaker
	 * @param wineryards
	 * @param facsimilie
	 * @param description
	 * @param lat
	 * @param lng
	 * @return value of key
	 */
	String addNewWineryInfo(String name, String region, String address1,
			String address2, String website, String telephone,
			String winemaker, String wineryards, String facsimilie,
			String description, String lat, String lng);
}
